/**
 * 
 */
package mdb.com.vn.persist;

import java.util.Date;
import java.util.List;

import mdb.com.vn.model.LuckyDrawG2;

/**
 * @author tu.dod
 *
 */
public interface LuckyDrawG2DAO extends AbstractDAO<LuckyDrawG2, Integer> {
	
	public List<LuckyDrawG2> findByRef(String refNo,String status);
	public List<LuckyDrawG2> findByRef(String refNo,Date processDate,String status);
	public List<LuckyDrawG2> findByRef(String module,String refNo,Date processDate,String status);
	public int countAllLuckyDraw();
	public LuckyDrawG2 findById(long id);
}
